docs: Improve gdk_window_create_similar_image_surface()
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 11 Jul 2016 15:55:10 +0000 (16:55 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 11 Jul 2016 15:55:10 +0000 (16:55 +0100)
commitb5a2bba84071265ffd2c2327e710b8bee3318ea4
tree1c9a1b88aa1f2df64c59cc783497fb6e63c57721
parent53a1f0ba7822d314003a170dc2c905af6f4b0cbb
docs: Improve gdk_window_create_similar_image_surface()

The sizes passed are in device pixels and do not take into account the
scaling factor of the window itself. We cannot change the semantics of
the function, so let's at least add a warning for this trap door.
gdk/gdkwindow.c